﻿#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QTextCodec *tc=QTextCodec::codecForName("WINDOWS-1251");
    //QTextCodec *tc=QTextCodec::codecForName("UTF-8");
    QTextCodec::setCodecForCStrings(tc);
    QTextCodec::setCodecForTr(tc);
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    
    return a.exec();
}
